removed patter unnecessary class + create dialog new changes