Fix typo "Cacnel" to "Cancel"
Remove close span tags with no start
Catch and ignore value error, can happen with dashboard setting of
"4,5|". Also make qbutton usable by non-superusers by testing for
view permission on the model.
Avoid causing an exception when there is no session available, as
happens with the test user in data.db.
Fix typo in method name.