We use a sidebar toggle to allow users to enter little notes within our application, and we'd like to be able to prevent the default closing of that drawer in the event the user has started to enter some text already. Instead, we'd like to present the user with a confirmation message first, and then either close the drawer or not based on the user's selection. I've found Mendix's sidebarRenderer widget which has the handler for the close action in its constructor, and I've been able to prevent it from closing in a hacky way by setting the _isVisible property to false. I've also played around with its show() and hide() functions in my browser's console window, but I haven't been able to get custom handlers to run when a click outside of the drawer occurs. Is it possible to modify the close behavior? Or to overwrite it with our own code?