added the close on select date option