How can I respond to an event based on clicking a disabled Button. I have a requirement that I have to present Dialog, when a disabled Button
Button
Dialog
Instead of disabling it, keep it enabled but use a flag to control your "inner state"