FIX: issue with hide dialog
"http://stackoverflow.com/questions/2850573/activity-has-leaked-window-that-was-originally-added"