fixing dialog form