fix(modals): adjust modal width based on windown size

Closes #310