Modal did not have 'dialog' div