WinForm Modal dialogs need to be explicitly disposed
Came across an interesting problem today. It turns out that WinForm modal dialogs are only hidden once they have been used. You need to explicitly call their Dispose method if you want to mark them for garbage collection. There’s a MSDN page with more information about this.