adjust popup modal