Removed loginDialog delete

Prevent crash caused by sending message to deallocated instance