Fixing bugs.

Pressing ESC on the search of behavior overlay clears the search
results, unfocus the search box, and leaves the behavior overlay
opened.

Clicking cancel button on the search box of behavior overlay,
clear the search box and search results on the behavior tab.
Merge pull request #93 from p-march/fix2

Fixing bugs.