Changing popup layout