now we have 3 types of popup dialogs: error, info and success