Added popup window when Switch is empty and added mod* actions