fired date and cancel button