added and deleted some dialog stuff