Added confirmation to close during a projection (and proper close of the
media if close is maintained)