fix crash when creating alert with nil "other" buttons. Also allow to set the block as a property instead of just the actor.