button locking if no more actions