Bug 999372 - Test failure "[object Object] - got 'false'" when handling modal dialogs. r=aeftimie

--HG--
extra : rebase_source : 5e55a03b971e9e0f40d5e85165fdedb3bbfc6502