Use API action being sent instead of always saying its opened.