shared/dialog: no foundation js
shared/dialog: 'hasCloseButton' option