Fixed modal close button bug.

Also updated form saver class to ensure hidden on non-supporting
browsers.