fix dialog form