closeable dialog

closeable dialog


I suggest to have a closeable property of dialog, explicit to login
puporse:
+------------------ a diff from my changes...
51a52,54