set {buttonName, controlsResults} to display enhanced window "Complex sample" acc view width accViewWidth acc view height theTop acc view controls allControls button list theButtons with align cancel button