set dialogResult to display dialog "Please enter a DPI value (e.g., 72, 90, 120, ...)." buttons {"Cancel", "OK"} default button "OK" cancel button "Cancel" default answer ("90") with title "Choose DPI value"