Fixed an issue that dialog can not be shown on player