removed modal from DOM on hide