Added popup for different modes