fix date picker and modal