added fields to panel also, not just dialog