I created an collapsible button to hide and show a group of fields. I created a message field(edit), put their the code. The collapse feature is working however, when I clicked collapse, it automatically close the edit screen and save the issue.