Allow adding multiple modes in the "if alarm is in mode" condition

I’m pasting my reply from another thread here: