fixes on dialog