You now set several events to handle the modalrunner.