remove modal from group instead of body