Show slider min/max as default values in dialog

Fixes #373.