Overlay press composer unload

Unload the overlay press composer when it isn't shown, because it calls preventDefault even when the overlay isn't shown, which breaks non-pressComposer/native interactions

Also refactors the DOM mocks a bit to increase code reuse