fixed a bug making ctrl key useless in popup box.