Ensure dialog is disposed when hid