fix #1741 - remove tag field before open lightbox