Save configuration when plugin manager dialog is closed

Closes #62