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

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