add background color and fixed bugged modal