Dismisses Modal after submission, fixes problem with tags