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

--HG--
extra : rebase_source : 22acb7d92e852bbdb96378cdab120b5d7339088b