clean pj, change dialogs layout