auto set on dempose modal because it was too tall without it.