Minor plugin bugfixes

Fixed the ability to save plugin's content's changes, and show an 'are
you sure?' dialog when a plugin's content has been modified.