Merge "Modify isShowing method in Dialog"