Control popup order