Fix wait dialog not being closed.
Fix wait dialog not being closed.

When closing wait dialog for the second time and upward, the dialog
wont closed caused by multiple dialog instances.

Signed-off-by: Toha <cf051a78db80d0ace1965fe83f485d0a116df2c8@yahoo.com>

tohenk/php-ntjs