On the menu bar click Tools > Global Options.
Click the plus sign next to Display if you can't see Prompts.
Highlight Prompts.
Select the Confirm when closing a remote view check box.
Clear the same box to stop getting prompts before closing.
Click OK.