Create a cancel button in the bottom left instead of showing dialog

The cancel button is deactivated when the wait cursor is removed. Activating it requires attaching a cancel listener.

GitHub issue #61