Modifications in the foreground, and add a new trigger in the closetab adding the foreground