Bug 1095805 - Update modal dialog height on resize event and not visible +autoland

https://bugzilla.mozilla.org/show_bug.cgi?id=1095805