decouple dialog event and handler
fix hiding of close icon
fade transition on submit button