refactor Dialogs + fix colorpicler