dismiss within modal to prevent modal within modal