An ideal way to handle this is probably to ng-disable those buttons if one is currently active (i.e. the input is open or the colour picker is open)