Display Posts widget: close div when no posts are returned

Props @chriswallace
Merge pull request #208 from jeherve/2152-trac

Display Posts widget: close div when no posts are returned