added prependContent feature for modal which makes it easy to support status messages