Add cancel button to wizard on Mac

Fixes #848