Changed the layout of the popup