Close button

* add close button
* implement deadline for closing enquete by datetime