Using dragevents to draw selection rectangle
Remove search mode. Implicit changing of searchmode once you draw a rectangle with ctrl key