Add function and binding for quitting yagist window