Function for a post status dropdown.