Added warning box

Displays error msg when no mode is selected