implemented popout feature (request from dan)