Added event for toggling modes in workflow
0.5.11