Close button was not working with remote dialogs