Adds preview functionality to new posts and topics