Changed settings from Page to Dialog