How to add a preview before send button ?