made buttons popup global