rm modal from dom