close style controls when exiting edit mode