MessageBox Extension for GUI Error messages

Gives a message and allows to click "ok" or "cancel" (returning true or false).
I needed this for the conversion tool but it's a useful thing to have in the GUI in general.