Implement error dialog, can now be shown
Target latest api version
Cleanup