Add hidden window functionallity