Fixes View and Close buttons

thanks to @gadgetto for the fix
Closes modxcms/articles#104
Fixes View and Close buttons

* origin/pr/109:
  Fixes View and Close buttons