changes on dialog