Popup panel component used to create any kind of popups on the page.

Main features:

- Has two states modal and non-modal
- Could be defined as resizable
- Could be autosized according to content
- Could be moved across the screen
- Could be automatically positioned as centered or use user defined position

This sample shows simple non-modal popup which are movable but not resizable as defined to use autosizing according to it's content

Besides this sample shows two variants of working with the component JS API:

- The popup is called by the rich:componentControl attached to button
- The popup is closed by simple JS calls which defined using rich:component function