Dismiss keyboard with done button and tap gesture