added play toggle state change inside dialog