Fixed popup menus behaviour

Some popups, like the right click menus on the Apps page or the Search
button, pop up and back down immediately. Now they work as they should.

Fixes #28
Search button was clearing the search entry preemptively
Merge pull request #59 from hordepfo/popups

Popup Menus