change popup style and layout