fix preview modal on messages