fixed validator at the `New Post Modal`