Changing directives in modal works, butthe effect of closing and opening not