started to add query modal