changed styling in first three dialogs and also added save and cancel
functions to first three panels