make popup 1/2 window size and p