fine tuning of popup