Starts to getting the save query modal working