Revised the events again and fixed regression on the dialogs.
Revised the events again and fixed regression on the dialogs.

gaurav1981/mooeditable,codylindley/mooeditable,kod3r/mooeditable,9618211/mooeditable,LamCiuLoeng/mooeditable,saisai/mooeditable,codylindley/mooeditable,maruf-nc/mooeditable,9618211/mooeditable,rustemferreira/mooeditable,th3hunt/mooeditable,RobertoMalatesta/mooeditable,maruf-nc/mooeditable,saisai/mooeditable,gaurav1981/mooeditable,cheeaun/mooeditable,th3hunt/mooeditable,LamCiuLoeng/mooeditable,kod3r/mooeditable,RobertoMalatesta/mooeditable,rustemferreira/mooeditable