allow opening popup from other elements (closes #36)