Add attached attribute on panels (RM-2504)

The attached="true" can be used to keep the
panel attached with previous one.