Corrected IDisposable implementation in ViewDialog<>