added error modal window