Fixed return url in quadern editing and optional_params in view and edit