fix bug
Merge pull request #31 from pihizi/master

fix bug: login dialog hide ==> destroy