You can display custom properties with custom forms.
Forms can be configured with content type and some mandatory parameters.(You can check wiki for more information on custom forms)
After that you can call OOB webscript available in alfresco to get your custom form. (You can check edit metadata action behavior in documentlibrary-actions.js for displaying form in popup)
Hope this helps.
Thanks,
If this post helps, please comment as "mark comment as useful".