A partial comment is lost if a user navigates away
Steps to repro:
1. Start adding a plugin comment without opening the properties modal.
2. Before pressing submit, click on plugin properties.
3. The comment disappears, there is no warning to users.
Ideally, the comment should be retained after the user opens the properties window. If this is not possible, there should at least be a warning before closing the comment.