changed opacity to black with a dialog box