Bug 1003646 - Dismiss action menu when app is opened r=alive


Dismiss action menu when app is opened. And add test for it.

https://bugzilla.mozilla.org/show_bug.cgi?id=1003646