Fixed redirect after changing a portlet.

Fixed typo: the hidden input should be called 'referer'.
Unquote the referer.
This is only a problem when not using an ajax request.
history