Fix null reference in EditWindow - just use Owner