Bug 1053251 - New tab page should close itself after it's hidden

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