Adds query back to percol prompt