Minor bug fix

- Added a class name to the dialog element and
- Removed the scrollLock from the create function (it should only be
triggered on open)