Added buttons to the edit and plot dialogs to switch to the other one.