fix loading message in popup
update helper for dimentions
add validation for setting size