add cancel button to edit style dialog