populate contents of membership pop-up dialog

set ul class so the correct event is assigned
also fetch the post details when instantiating the dialog so that is
correctly populated