Corrected error of having a modal on every page and not on the master