Improved error dialog layout