change redirection

change redirection for: permission denied, submit completed, others.. to
redirect to referrer where it came from.
this can be flexible when admin view the list with filter in querystring
and click edit and save and then go back to page where they filtered.