Fixed modal issues. Added config for ngDIalog.