add popup and action on cancel button