Only allow user to click overlay to close if modal has close button.