Improve UI by opening Dialog upon error