Resized opened messages within popup.
resizeMessages()

Description

This is internal function that is called when popup size is changed to resize messages of the popup (if any).