implementations for modal box; colorpicker for modal box modified