Hooking up exit box to C-c