Improve portal editor