added attach option for transient window