Added queue button and added hidden params to page to store query queue params