dispatch event to focused element