For that I am not totally sure what the best thing is...while I agree it is less code, semantically speaking, you always "create" a preview. That said, a pragmatic approach and keeping it simple could also make sense. Will trust @msevestre on that one! :)