fixing modal bug where it wasnt centering