Close form before showing new form on home page Fixes #31