Implemented error-popup