Adding quick exit to code choco butter ui

Changed code to perform quick exit as suggested by Luke in
https://github.com/ikeough/Dynamo/pull/731/files