Hello,
On Mac, when you close the browser the application continues to run. You need to quit the application for the installation to proceed. Open Activity Monitor in Applications > Utilities. Look for Safari, select it and then select 'Quit Process'. You may need to adjust the filter to view 'All Processes' as initially it defaults to 'My Processes'.
--
Maria