Remove modal from DOM on close