used on method to remove modal