Adds 'OK' button to error window.