Status modal now functions properly