ui rework implement popup