it works outside of messagebox handler, but if to return false from messagebox handler - it doesn't