auto open dialog while remove content