Revert "close #908 show dialog when discard the card editor with content...

Reverts mozilla-japan/gitfab2#914