use DialogFragment instead of Activity for editing item