add some cleanup code to make sure it would cleanup stuffs
split dialogs into different dialog and add related scripts
remove event listener
Just add PromptDialog and fix the cb problem about .show()