Make close button optional
Make centering vertically optional