DAR-712, fix page width and edit section conditional check