Yet another modal dialog script - custom to uSwitch