Fixed modal "content changed" opening on custom buttons