Add closable option and rename exitOnBackgroundClick to closeOnBackgroundClick