Maybe you can use the "lightbox" function (see in log.inc.sh).