montagejs/montage — pull request #1248 by Stuk (2013-08-08 21:52:09+00:00)
Title: 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