Fixed dropdown closing before user can make a selection

Fixed the issue where users could not select an option from the post type dropdown
Merge pull request #2 from prowp/patch-1

Fixed dropdown closing before user can make a selection