#1153 Refactor confirmation dialog for page structure