_closeTopDialog has been removed and replaced with _closeDialog