Close window & return to gallery