change close action