Add handler for media click.