changed popupLoader widget + unit tests