close #908 show dialog when discard the card editor with content
Merge pull request #914 from mozilla-japan/task908

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