fixing edit company dialog