Refs #1103: Further improving modal resizing. Correcting resizing issues in IE.