Contacts: Fix the "Remove photo" doesn't work issue

If popup shown, it will leak when contact editor fragment bind editors.
So it need dismiss with content view remove all views.

Dismiss the popup when context view remove all views.

CRs-Fixed: 537228

Change-Id: Id7ca52f2b7dc470b3c8b6f47ec46721cb05fbf4a