removed dead code.
allow media picker cancel.