fix popup modules layout