Fix typos
Add option to specify if dialog is dismissible or not